<?php

class RoleController extends Zend_Controller_Action {

    public function init() {
        /* Initialize action controller here */
    }

    public function indexAction() {
        $this->view->rolesAll = $this->getRolesAll();
    }

    private function getRolesAll() {
        $dbRole = new Application_Model_DbTable_Fonctions();
        return $dbRole->fetchAll()->toArray();
    }

}

